package com.example.aigc_education.domain.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class GetAllTodosVO {
//    "data": {
//        "statistics": {
//            "total": 5,
//                    "urgent": 2,
//                    "today": 1,
//                    "completed": 3
//        },
//        "todos": [
//        {
//            "id": "1",
//                "name": "早起早睡计划",
//                "icon": "/static/image/icon/sleep_48x48.png",
//                "priority": "high", // high, medium, low
//                "deadline": "2024-03-20",
//                "todoType": "important-urgent",
//                "focusMode": true,
//                "timerMode": "pomodoro", // pomodoro, normal
//                "pomodoroLength": "25分钟",
//                "targetTime": null,
//        }
//        // ... 其他待办项
//    ]
//    }
    private Statistics statistics;
    private List<TodoVO> todos;
    @AllArgsConstructor
    @NoArgsConstructor
    @Data
    public static class Statistics {
        private Long total;
        private Long urgent;
        private Long today;
        private Long completed;
    }
}
